package com.hansheng.service;

import com.alibaba.fastjson.JSONArray;
import com.hansheng.entity.MaterialEntity;

/**
 * Created by GoldenMan on 2017/5/29.
 */
public interface MaterialService {
    boolean saveMaterial(MaterialEntity materialEntity);
    boolean deleteMaterialById(int mid);
    boolean modifyMaterial(MaterialEntity materialEntity);
    JSONArray getMaterialList();

    JSONArray getFatherMaterialList();

    MaterialEntity getMaterialById(int mid);
}
